<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../../css/back/userEdit.css">
    <script src="../../../js/jquery.js"></script>
    <script src="../../../js/myAjax.js"></script>
    <script src="../../../js/cuisine/cuisineManage.js"></script>

    <script src="../../../js/wangEditor.min.js"></script>
</head>
<body>
<div class="user-edit">
<!--    <form action="" method="" enctype=""></form>-->
    <div>
        <div>
            <div>菜系</div>
            <div>
                <select id="cuisine">
                    <option value="1">川菜</option>
                </select>
            </div>
            <div></div>
        </div>
        <div>
            <div>产品名称</div>
            <div><input type="text" id="productName"></div>
            <div></div>
        </div>
        <div>
            <div>产品图片</div>
            <div>
                <input type="file" id="imgHref" onchange="showImg(this)">
            </div>
            <div></div>
        </div>
        <div>
            <div>图片预览</div>
            <div>
                <img src="/img/defaultimg.jpg" id="imgShow" onclick="$('#imgHref').click()">
            </div>
            <div></div>
        </div>
        <div>
            <div>市场价</div>
            <div>
                <input type="text" id="normalPrice">
            </div>
            <div></div>
        </div>
        <div>
            <div>市场价</div>
            <div>
                <input type="text" id="price">
            </div>
            <div></div>
        </div>
        <div>
            <div>是否置顶</div>
            <div>
                <label><input type="radio" name="isShow" value="1">是</label>
                <label><input type="radio" name="isShow" value="0">否</label>
            </div>
            <div></div>
        </div>
        <div>
            <div></div>
            <div>
                <label><input type="checkbox" name="isRecommend" id="isRecommend">是否推荐</label>
            </div>
            <div></div>
        </div>
        <div>
            <div>描述</div>
            <div id="content">

            </div>
            <div></div>
        </div>
        <div>
            <input type="button" value="修改" onclick="save()">
        </div>
    </div>
</div>
<script type="text/javascript">

    // editor.txt.html('<p>用 JS 设置的内容</p>') // 重新设置编辑器内容
    // editor.txt.append('<p>追加的内容</p>') 继续追加内容。
    // editor.txt.html() 获取 html 。
    // editor.txt.text() 获取 text 文本。

</script>
<script src="../../../js/product/productAdd.js"></script>
</body>
</html>